<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Commit</title>

<style type="text/css">
#search
{
	background-color: #0431B4; 
	
	color: white; font-family: arial, verdana, ms sans serif;
	 font-weight:bold;
	  font-size: 12pt;
	   text-align: right;
	   -moz-border-radius: 8px;
   	-webkit-border-r
   	radius: 8px;
}

#list
{

 border: 1px solid black;
 
}

#list td
{

 border: 1px solid black;

}

#list th
{

 border: 1px solid black;

}


#footer {
    border-top: 1px solid #000;
    height: 20px;
    top:90%;
    font-size:10px;
}




a { color:#08088A;
text-decoration:none;
 }
 a:visited { color: #08088A; }
 a:hover { color: #6A0888; }
 a:active { color: #08088A; }
 
 
#menu1
{
background-color: #E6E6E6;
width:100%;
}



#tbl1
{
 	padding: 20px;
	background-color:#E6E6E6;
	width:100%;
}



#footer {
    border-top: 1px solid #000;
    height: 20px;
    top:90%;
    font-size:9px;
}


#tblmenu
{
 border: 1px solid #E6E6E6;
 width:40%;
}


#tblbrowse
{
 border: 1px solid #E6E6E6;
	
}


#image
{
 border: 1px solid #E6E6E6;
	
}



#tbllist
{
 border: 1px solid #E6E6E6;
 width:100%;
}


</style>

</head>
<body>


<%@ include file="/jsp_pages/account/header.jsp" %><br/>
<br><font size="3">
<a href="">Home</a> ><a href=""> Buy</a> ><a href="">Books</a>
</font><br>
<h4>Review And Commit to Buy</h4>
<hr width="100%">

Review the items you are buying and your total order:<br>
<s:iterator value="lstbooks">
<table width="100%" cellspacing="3" cellpadding="1">
<tr>
<th>
<th>
<th>Price
<th>Quantity
<th>Sub-Total
<tr>
<td>
<img src="<s:property value="image" />" width="100px" height="150px"/></td>
<td>
<font color="blue"><s:property value="title"/></font>
<td><s:property value="price"/>
<td>
<s:property value="quantitypurchased"/>
<td>
<s:property value="subtotal"/>
<td>
</table>
</s:iterator>
<s:if test="biddingstatus">
<form action="placeBid" >
<input type="hidden" value=<s:property value="book_id"/> name="book_id"/>
<input type="submit" value="Place the Bid"/>
</form>
</s:if>
<s:else>
<form action="buyNow" >
<input type="hidden" value=<s:property value="book_id"/> name="book_id"/>
<input type="submit" value="Commit to Buy"/>
</form>
</s:else>
</body>
</html>